package com.wicket.okrapp.web.contorller;

import com.wicket.okrapp.biz.service.WorkTasksService;
import com.wicket.okrapp.biz.service.dto.req.*;
import com.wicket.okrapp.biz.service.dto.res.*;
import com.wicket.okrapp.common.ro.OkrResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author ：
 * @date ：
 *
 *
 * @version 1.0
 */
@RestController
@RequestMapping("/app/workTasks/")
public class WorkTasksController {

  @Autowired
  WorkTasksService workTasksService;
/**
   * D3存档独立任务
   */
    @PostMapping("archiveIndependentTask")
    public OkrResult<ArchiveIndependentTaskRespDto> archiveIndependentTask(@RequestBody @Validated ArchiveIndependentTaskReqDto reqDTO){
    return OkrResult.success(workTasksService.archiveIndependentTask(reqDTO));
    }
/**
   * D3查询不同工作任务列表(公共)
   */
    @PostMapping("queryDifferentWorkTasksListCom")
    public OkrResult<QueryDifferentWorkTasksListComRespDto> queryDifferentWorkTasksListCom(@RequestBody @Validated QueryDifferentWorkTasksListComReqDto reqDTO){
    return OkrResult.success(workTasksService.queryDifferentWorkTasksListCom(reqDTO));
    }
/**
   * D3执行批量查不同工作任务(公共)
   */
    @PostMapping("implementBatchDifferentWorkTasksCom")
    public OkrResult<ImplementBatchDifferentWorkTasksComRespDto> implementBatchDifferentWorkTasksCom(@RequestBody @Validated ImplementBatchDifferentWorkTasksComReqDto reqDTO){
    return OkrResult.success(workTasksService.implementBatchDifferentWorkTasksCom(reqDTO));
    }
/**
   * D3-查询工作任务或问题详情(公共)
   */
    @PostMapping("queryWorkTaskOrProblemDetailDetailCom")
    public OkrResult<QueryWorkTaskOrProblemDetailDetailComRespDto> queryWorkTaskOrProblemDetailDetailCom(@RequestBody @Validated QueryWorkTaskOrProblemDetailDetailComReqDto reqDTO){
    return OkrResult.success(workTasksService.queryWorkTaskOrProblemDetailDetailCom(reqDTO));
    }
/**
   * D3执行判断工作任务类型(公共)
   */
    @PostMapping("implementDetermineTypeWorkTaskCom")
    public OkrResult<ImplementDetermineTypeWorkTaskComRespDto> implementDetermineTypeWorkTaskCom(@RequestBody @Validated ImplementDetermineTypeWorkTaskComReqDto reqDTO){
    return OkrResult.success(workTasksService.implementDetermineTypeWorkTaskCom(reqDTO));
    }
/**
   * D3查询工作任务列表
   */
    @PostMapping("queryWorkTaskList")
    public OkrResult<QueryWorkTaskListRespDto> queryWorkTaskList(@RequestBody @Validated QueryWorkTaskListReqDto reqDTO){
//    Page<?> page = CommonFunctionHelper.startPage(reqDTO.getPageNum(),reqDTO.getPageSize());

        // TODO: 2023/11/13 不改
        QueryWorkTaskListRespDto retData = workTasksService.queryWorkTaskList(reqDTO);

//        retData.setPageNum(page.getPageNum());
//        retData.setPageSize(page.getPageSize());
//        retData.setTotalNum(page.getTotal());
        return OkrResult.success(retData);
    
    }
/**
   * D3新增协同任务(公共)
   */
    @PostMapping("addProjectCom")
    public OkrResult<AddProjectComRespDto> addProjectCom(@RequestBody @Validated AddProjectComReqDto reqDTO){
    return OkrResult.success(workTasksService.addProjectCom(reqDTO));
    }
/**
   * D3新增独立任务（或子任务）(公共)
   */
    @PostMapping("addIndependentTaskCom")
    public OkrResult<AddIndependentTaskComRespDto> addIndependentTaskCom(@RequestBody @Validated AddIndependentTaskComReqDto reqDTO){
    return OkrResult.success(workTasksService.addIndependentTaskCom(reqDTO));
    }
/**
   * D3查询协同任务详情(公共)
   */
    @PostMapping("queryProjectDetailCom")
    public OkrResult<QueryProjectDetailComRespDto> queryProjectDetailCom(@RequestBody @Validated QueryProjectDetailComReqDto reqDTO){
    return OkrResult.success(workTasksService.queryProjectDetailCom(reqDTO));
    }
/**
   * D3删除协同任务(管理)
   */
    @PostMapping("deleteProject")
    public OkrResult<DeleteProjectRespDto> deleteProject(@RequestBody @Validated DeleteProjectReqDto reqDTO){
    return OkrResult.success(workTasksService.deleteProject(reqDTO));
    }
/**
   * D3存档协同任务
   */
    @PostMapping("archiveProject")
    public OkrResult<ArchiveProjectRespDto> archiveProject(@RequestBody @Validated ArchiveProjectReqDto reqDTO){
    return OkrResult.success(workTasksService.archiveProject(reqDTO));
    }
/**
   * D3修改协同任务(公共)
   */
    @PostMapping("updateProjectCom")
    public OkrResult<UpdateProjectComRespDto> updateProjectCom(@RequestBody @Validated UpdateProjectComReqDto reqDTO){
    return OkrResult.success(workTasksService.updateProjectCom(reqDTO));
    }
/**
   * D3修改独立任务或子任务(公共)
   */
    @PostMapping("updateIndependentTaskCom")
    public OkrResult<UpdateIndependentTaskComRespDto> updateIndependentTaskCom(@RequestBody @Validated UpdateIndependentTaskComReqDto reqDTO){
    return OkrResult.success(workTasksService.updateIndependentTaskCom(reqDTO));
    }
/**
   * D3查询独立任务详情(公共)
   */
    @PostMapping("queryIndependentTaskDetailCom")
    public OkrResult<QueryIndependentTaskDetailComRespDto> queryIndependentTaskDetailCom(@RequestBody @Validated QueryIndependentTaskDetailComReqDto reqDTO){
    return OkrResult.success(workTasksService.queryIndependentTaskDetailCom(reqDTO));
    }
/**
   * D3删除独立任务
   */
    @PostMapping("deleteIndependentTask")
    public OkrResult<DeleteIndependentTaskRespDto> deleteIndependentTask(@RequestBody @Validated DeleteIndependentTaskReqDto reqDTO){
    return OkrResult.success(workTasksService.deleteIndependentTask(reqDTO));
    }
/**
   * D3删除协同任务(公共)
   */
    @PostMapping("deleteProjectCom")
    public OkrResult<DeleteProjectComRespDto> deleteProjectCom(@RequestBody @Validated DeleteProjectComReqDto reqDTO){
    return OkrResult.success(workTasksService.deleteProjectCom(reqDTO));
    }
/**
   * D3-修改不同工作任务(公共)
   */
    @PostMapping("updateDifferentWorkTasksCom")
    public OkrResult<UpdateDifferentWorkTasksComRespDto> updateDifferentWorkTasksCom(@RequestBody @Validated UpdateDifferentWorkTasksComReqDto reqDTO){
    return OkrResult.success(workTasksService.updateDifferentWorkTasksCom(reqDTO));
    }
/**
   * D3-更新工作任务逾期相关(公共)
   */
    @PostMapping("refreshWorkTaskOverdueRelateCom")
    public OkrResult<RefreshWorkTaskOverdueRelateComRespDto> refreshWorkTaskOverdueRelateCom(@RequestBody @Validated RefreshWorkTaskOverdueRelateComReqDto reqDTO){
    return OkrResult.success(workTasksService.refreshWorkTaskOverdueRelateCom(reqDTO));
    }
/**
   * D3-查询不同工作任务详情(公共)
   */
    @PostMapping("queryDifferentWorkTasksDetailCom")
    public OkrResult<QueryDifferentWorkTasksDetailComRespDto> queryDifferentWorkTasksDetailCom(@RequestBody @Validated QueryDifferentWorkTasksDetailComReqDto reqDTO){
    return OkrResult.success(workTasksService.queryDifferentWorkTasksDetailCom(reqDTO));
    }
/**
   * D3-新增协同任务业务处理(公共)
   */
    @PostMapping("addProjectBusinessProcessingCom")
    public OkrResult<AddProjectBusinessProcessingComRespDto> addProjectBusinessProcessingCom(@RequestBody @Validated AddProjectBusinessProcessingComReqDto reqDTO){
    return OkrResult.success(workTasksService.addProjectBusinessProcessingCom(reqDTO));
    }
/**
   * D3-新增独立任务（或子任务）业务处理(公共)
   */
    @PostMapping("addIndependentTaskBusinessProcessingCom")
    public OkrResult<AddIndependentTaskBusinessProcessingComRespDto> addIndependentTaskBusinessProcessingCom(@RequestBody @Validated AddIndependentTaskBusinessProcessingComReqDto reqDTO){
    return OkrResult.success(workTasksService.addIndependentTaskBusinessProcessingCom(reqDTO));
    }
/**
   * D3-提交工作任务汇报(公共)
   */
    @PostMapping("commitReportWorkTaskProgressCom")
    public OkrResult<CommitReportWorkTaskProgressComRespDto> commitReportWorkTaskProgressCom(@RequestBody @Validated CommitReportWorkTaskProgressComReqDto reqDTO){
    return OkrResult.success(workTasksService.commitReportWorkTaskProgressCom(reqDTO));
    }
/**
   * D3执行更新工作内容相关人数量(公共)
   */
    @PostMapping("implementRefreshWokrContRelevantPeopleNumCom")
    public OkrResult<ImplementRefreshWokrContRelevantPeopleNumComRespDto> implementRefreshWokrContRelevantPeopleNumCom(@RequestBody @Validated ImplementRefreshWokrContRelevantPeopleNumComReqDto reqDTO){
    return OkrResult.success(workTasksService.implementRefreshWokrContRelevantPeopleNumCom(reqDTO));
    }
/**
   * D3-执行工作任务对象类型转表类型(公共)
   */
    @PostMapping("implementWorkTaskObjectTypeToTableTypeCom")
    public OkrResult<ImplementWorkTaskObjectTypeToTableTypeComRespDto> implementWorkTaskObjectTypeToTableTypeCom(@RequestBody @Validated ImplementWorkTaskObjectTypeToTableTypeComReqDto reqDTO){
    return OkrResult.success(workTasksService.implementWorkTaskObjectTypeToTableTypeCom(reqDTO));
    }
/**
   * D3-更新工作任务及问题逾期相关(公共)
   */
    @PostMapping("refreshWorkTaskAndProblemOverdueRelateCom")
    public OkrResult<RefreshWorkTaskAndProblemOverdueRelateComRespDto> refreshWorkTaskAndProblemOverdueRelateCom(@RequestBody @Validated RefreshWorkTaskAndProblemOverdueRelateComReqDto reqDTO){
    return OkrResult.success(workTasksService.refreshWorkTaskAndProblemOverdueRelateCom(reqDTO));
    }
/**
   * D3删除独立任务(公共)
   */
    @PostMapping("deleteIndependentTaskCom")
    public OkrResult<DeleteIndependentTaskComRespDto> deleteIndependentTaskCom(@RequestBody @Validated DeleteIndependentTaskComReqDto reqDTO){
    return OkrResult.success(workTasksService.deleteIndependentTaskCom(reqDTO));
    }
/**
   * D3执行异步更新工作内容逾期相关(公共)
   */
    @PostMapping("implementAsyncRefreshWorkContOverdueRelateCom")
    public OkrResult<ImplementAsyncRefreshWorkContOverdueRelateComRespDto> implementAsyncRefreshWorkContOverdueRelateCom(@RequestBody @Validated ImplementAsyncRefreshWorkContOverdueRelateComReqDto reqDTO){
    return OkrResult.success(workTasksService.implementAsyncRefreshWorkContOverdueRelateCom(reqDTO));
    }
/**
   * D3执行工作任务类型互转工作任务对象类型(公共)
   */
    @PostMapping("implementWorkTaskTypeMutualContTypeCom")
    public OkrResult<ImplementWorkTaskTypeMutualContTypeComRespDto> implementWorkTaskTypeMutualContTypeCom(@RequestBody @Validated ImplementWorkTaskTypeMutualContTypeComReqDto reqDTO){
    return OkrResult.success(workTasksService.implementWorkTaskTypeMutualContTypeCom(reqDTO));
    }
/**
   * D3修改协同任务业务处理(公共)
   */
    @PostMapping("updateProjectBusinessProcessingCom")
    public OkrResult<UpdateProjectBusinessProcessingComRespDto> updateProjectBusinessProcessingCom(@RequestBody @Validated UpdateProjectBusinessProcessingComReqDto reqDTO){
    return OkrResult.success(workTasksService.updateProjectBusinessProcessingCom(reqDTO));
    }
/**
   * D3修改独立任务（或子任务）业务处理(公共)
   */
    @PostMapping("updateIndependentTaskBusinessProcessingCom")
    public OkrResult<UpdateIndependentTaskBusinessProcessingComRespDto> updateIndependentTaskBusinessProcessingCom(@RequestBody @Validated UpdateIndependentTaskBusinessProcessingComReqDto reqDTO){
    return OkrResult.success(workTasksService.updateIndependentTaskBusinessProcessingCom(reqDTO));
    }
/**
   * D3获取主体对象(公共)
   */
    @PostMapping("obtainMainBodyObjectCom")
    public OkrResult<ObtainMainBodyObjectComRespDto> obtainMainBodyObjectCom(@RequestBody @Validated ObtainMainBodyObjectComReqDto reqDTO){
    return OkrResult.success(workTasksService.obtainMainBodyObjectCom(reqDTO));
    }
/**
   * D3删除独立任务业务处理(公共)
   */
    @PostMapping("deleteIndependentTaskBusinessProcessingCom")
    public OkrResult<DeleteIndependentTaskBusinessProcessingComRespDto> deleteIndependentTaskBusinessProcessingCom(@RequestBody @Validated DeleteIndependentTaskBusinessProcessingComReqDto reqDTO){
    return OkrResult.success(workTasksService.deleteIndependentTaskBusinessProcessingCom(reqDTO));
    }
/**
   * D3删除协同任务业务处理(公共)
   */
    @PostMapping("deleteProjectBusinessProcessingCom")
    public OkrResult<DeleteProjectBusinessProcessingComRespDto> deleteProjectBusinessProcessingCom(@RequestBody @Validated DeleteProjectBusinessProcessingComReqDto reqDTO){
    return OkrResult.success(workTasksService.deleteProjectBusinessProcessingCom(reqDTO));
    }
/**
   * D3获取高中基层工作任务场景权限
   */
    @PostMapping("obtainTopMidBasicScenePower")
    public OkrResult<ObtainTopMidBasicScenePowerRespDto> obtainTopMidBasicScenePower(@RequestBody @Validated ObtainTopMidBasicScenePowerReqDto reqDTO){
    return OkrResult.success(workTasksService.obtainTopMidBasicScenePower(reqDTO));
    }
/**
   * D3执行筛选条件转换(公共)
   */
    @PostMapping("implementFilterCriteriaConversionCom")
    public OkrResult<ImplementFilterCriteriaConversionComRespDto> implementFilterCriteriaConversionCom(@RequestBody @Validated ImplementFilterCriteriaConversionComReqDto reqDTO){
    return OkrResult.success(workTasksService.implementFilterCriteriaConversionCom(reqDTO));
    }
/**
   * D3获取工作内容(公共)
   */
    @PostMapping("obtainWorkContentCom")
    public OkrResult<ObtainWorkContentComRespDto> obtainWorkContentCom(@RequestBody @Validated ObtainWorkContentComReqDto reqDTO){
    return OkrResult.success(workTasksService.obtainWorkContentCom(reqDTO));
    }
/**
   * D3-定时更新工作任务及问题逾期相关(公共)
   */
    @PostMapping("timingRefreshWorkTaskAndProblemOverdueRelateCom")
    public OkrResult<TimingRefreshWorkTaskAndProblemOverdueRelateComRespDto> timingRefreshWorkTaskAndProblemOverdueRelateCom(@RequestBody @Validated TimingRefreshWorkTaskAndProblemOverdueRelateComReqDto reqDTO){
    return OkrResult.success(workTasksService.timingRefreshWorkTaskAndProblemOverdueRelateCom(reqDTO));
    }
/**
   * D3执行工作任务筛选条件转表类型(公共)
   */
    @PostMapping("implementWrokTaskFilterToTableTypeCom")
    public OkrResult<ImplementWrokTaskFilterToTableTypeComRespDto> implementWrokTaskFilterToTableTypeCom(@RequestBody @Validated ImplementWrokTaskFilterToTableTypeComReqDto reqDTO){
    return OkrResult.success(workTasksService.implementWrokTaskFilterToTableTypeCom(reqDTO));
    }
/**
   * D3-执行表类型转工作任务对象类型(公共)
   */
    @PostMapping("implementTableTypeMutualWorkTaskTypeCom")
    public OkrResult<ImplementTableTypeMutualWorkTaskTypeComRespDto> implementTableTypeMutualWorkTaskTypeCom(@RequestBody @Validated ImplementTableTypeMutualWorkTaskTypeComReqDto reqDTO){
    return OkrResult.success(workTasksService.implementTableTypeMutualWorkTaskTypeCom(reqDTO));
    }
/**
   * D3获取工作内容子孙范围(公共)
   */
    @PostMapping("obtainWrokContDescendantsCom")
    public OkrResult<ObtainWrokContDescendantsComRespDto> obtainWrokContDescendantsCom(@RequestBody @Validated ObtainWrokContDescendantsComReqDto reqDTO){
    return OkrResult.success(workTasksService.obtainWrokContDescendantsCom(reqDTO));
    }
/**
   * D3执行更新独立任务
   */
    @PostMapping("implementUpdateIndependentTask")
    public OkrResult<ImplementUpdateIndependentTaskRespDto> implementUpdateIndependentTask(@RequestBody @Validated ImplementUpdateIndependentTaskReqDto reqDTO){
    return OkrResult.success(workTasksService.implementUpdateIndependentTask(reqDTO));
    }
/**
   * D3执行更新协同任务
   */
    @PostMapping("implementUpdateProject")
    public OkrResult<ImplementUpdateProjectRespDto> implementUpdateProject(@RequestBody @Validated ImplementUpdateProjectReqDto reqDTO){
    return OkrResult.success(workTasksService.implementUpdateProject(reqDTO));
    }
/**
   * D3-执行工作任务及问题统一更新时长(公共)
   */
    @PostMapping("implementWorkTaskAndProblemUpdateDurationCom")
    public OkrResult<ImplementWorkTaskAndProblemUpdateDurationComRespDto> implementWorkTaskAndProblemUpdateDurationCom(@RequestBody @Validated ImplementWorkTaskAndProblemUpdateDurationComReqDto reqDTO){
    return OkrResult.success(workTasksService.implementWorkTaskAndProblemUpdateDurationCom(reqDTO));
    }
/**
   * D3执行内容状态转换(公共)
   */
    @PostMapping("implementContentStateConversionCom")
    public OkrResult<ImplementContentStateConversionComRespDto> implementContentStateConversionCom(@RequestBody @Validated ImplementContentStateConversionComReqDto reqDTO){
    return OkrResult.success(workTasksService.implementContentStateConversionCom(reqDTO));
    }
/**
   * D3执行待签收状态转换(公共)
   */
    @PostMapping("implementTobesignConversionCom")
    public OkrResult<ImplementTobesignConversionComRespDto> implementTobesignConversionCom(@RequestBody @Validated ImplementTobesignConversionComReqDto reqDTO){
    return OkrResult.success(workTasksService.implementTobesignConversionCom(reqDTO));
    }
/**
   * D3执行判断工作任务角色(公共)
   */
    @PostMapping("implementDetermineWorkTaskRolesCom")
    public OkrResult<ImplementDetermineWorkTaskRolesComRespDto> implementDetermineWorkTaskRolesCom(@RequestBody @Validated ImplementDetermineWorkTaskRolesComReqDto reqDTO){
    return OkrResult.success(workTasksService.implementDetermineWorkTaskRolesCom(reqDTO));
    }
/**
   * D3-查询工作任务及问题安排主体详情(公共)
   */
    @PostMapping("queryWorkTaskAndProblemArrangeSubjectDetailCom")
    public OkrResult<QueryWorkTaskAndProblemArrangeSubjectDetailComRespDto> queryWorkTaskAndProblemArrangeSubjectDetailCom(@RequestBody @Validated QueryWorkTaskAndProblemArrangeSubjectDetailComReqDto reqDTO){
    return OkrResult.success(workTasksService.queryWorkTaskAndProblemArrangeSubjectDetailCom(reqDTO));
    }
/**
   * D3执行判断工作任务生命周期状态(公共)
   */
    @PostMapping("implementDetermineWorkTaskSubjectLifeCycleCom")
    public OkrResult<ImplementDetermineWorkTaskSubjectLifeCycleComRespDto> implementDetermineWorkTaskSubjectLifeCycleCom(@RequestBody @Validated ImplementDetermineWorkTaskSubjectLifeCycleComReqDto reqDTO){
    return OkrResult.success(workTasksService.implementDetermineWorkTaskSubjectLifeCycleCom(reqDTO));
    }
/**
   * D3执行签收动态操作权限判断
   */
    @PostMapping("implementDynamicOptPermissionJudgmentReceiptSign")
    public OkrResult<ImplementDynamicOptPermissionJudgmentReceiptSignRespDto> implementDynamicOptPermissionJudgmentReceiptSign(@RequestBody @Validated ImplementDynamicOptPermissionJudgmentReceiptSignReqDto reqDTO){
    return OkrResult.success(workTasksService.implementDynamicOptPermissionJudgmentReceiptSign(reqDTO));
    }
/**
   * D3查询工作任务来源列表
   */
    @PostMapping("querySourceOfWorkTaskList")
    public OkrResult<QuerySourceOfWorkTaskListRespDto> querySourceOfWorkTaskList(@RequestBody @Validated QuerySourceOfWorkTaskListReqDto reqDTO){
    return OkrResult.success(workTasksService.querySourceOfWorkTaskList(reqDTO));
    }
/**
   * D3查工作任务管理筛选条件列表
   */
    @PostMapping("queryWorkTaskMgtScreenConditionList")
    public OkrResult<QueryWorkTaskMgtScreenConditionListRespDto> queryWorkTaskMgtScreenConditionList(@RequestBody @Validated QueryWorkTaskMgtScreenConditionListReqDto reqDTO){
    return OkrResult.success(workTasksService.queryWorkTaskMgtScreenConditionList(reqDTO));
    }
/**
   * D3查询工作任务列表(公共)
   */
    @PostMapping("queryWorkTaskListCom")
    public OkrResult<QueryWorkTaskListComRespDto> queryWorkTaskListCom(@RequestBody @Validated QueryWorkTaskListComReqDto reqDTO){
    return OkrResult.success(workTasksService.queryWorkTaskListCom(reqDTO));
    }
/**
   * D3执行回写工作任务冗余状态(公共)
   */
    @PostMapping("implementWriteBackWorkTaskStateCodeCom")
    public OkrResult<ImplementWriteBackWorkTaskStateCodeComRespDto> implementWriteBackWorkTaskStateCodeCom(@RequestBody @Validated ImplementWriteBackWorkTaskStateCodeComReqDto reqDTO){
    return OkrResult.success(workTasksService.implementWriteBackWorkTaskStateCodeCom(reqDTO));
    }
/**
   * D3执行更新工作任务进度消息准备(公共)
   */
    @PostMapping("implementUpdateWorkTaskScheduleMsgEquCom")
    public OkrResult<ImplementUpdateWorkTaskScheduleMsgEquComRespDto> implementUpdateWorkTaskScheduleMsgEquCom(@RequestBody @Validated ImplementUpdateWorkTaskScheduleMsgEquComReqDto reqDTO){
    return OkrResult.success(workTasksService.implementUpdateWorkTaskScheduleMsgEquCom(reqDTO));
    }
/**
   * D3-分析任务完成情况(公共)
   */
    @PostMapping("analysisTaskCompleteStatusCom")
    public OkrResult<AnalysisTaskCompleteStatusComRespDto> analysisTaskCompleteStatusCom(@RequestBody @Validated AnalysisTaskCompleteStatusComReqDto reqDTO){
    return OkrResult.success(workTasksService.analysisTaskCompleteStatusCom(reqDTO));
    }
/**
   * D3执行任务问题状态文案(公共)
   */
    @PostMapping("implementTaskAndProblemStatusCopywritCom")
    public OkrResult<ImplementTaskAndProblemStatusCopywritComRespDto> implementTaskAndProblemStatusCopywritCom(@RequestBody @Validated ImplementTaskAndProblemStatusCopywritComReqDto reqDTO){
    return OkrResult.success(workTasksService.implementTaskAndProblemStatusCopywritCom(reqDTO));
    }
/**
   * D3执行更新工作任务状态及消息与数量(公共)
   */
    @PostMapping("implementUpdateWorkTaskStatusMsgAndMsgNumCom")
    public OkrResult<ImplementUpdateWorkTaskStatusMsgAndMsgNumComRespDto> implementUpdateWorkTaskStatusMsgAndMsgNumCom(@RequestBody @Validated ImplementUpdateWorkTaskStatusMsgAndMsgNumComReqDto reqDTO){
    return OkrResult.success(workTasksService.implementUpdateWorkTaskStatusMsgAndMsgNumCom(reqDTO));
    }
/**
   * D3执行工作内容发消息内容准备(公共)
   */
    @PostMapping("implementWrokContentSendMsgContentPreparationCom")
    public OkrResult<ImplementWrokContentSendMsgContentPreparationComRespDto> implementWrokContentSendMsgContentPreparationCom(@RequestBody @Validated ImplementWrokContentSendMsgContentPreparationComReqDto reqDTO){
    return OkrResult.success(workTasksService.implementWrokContentSendMsgContentPreparationCom(reqDTO));
    }
/**
   * D3分析工作任务更新状态操作类型(公共)
   */
    @PostMapping("analysisWrokTaskUpdateStatusOpTypeCom")
    public OkrResult<AnalysisWrokTaskUpdateStatusOpTypeComRespDto> analysisWrokTaskUpdateStatusOpTypeCom(@RequestBody @Validated AnalysisWrokTaskUpdateStatusOpTypeComReqDto reqDTO){
    return OkrResult.success(workTasksService.analysisWrokTaskUpdateStatusOpTypeCom(reqDTO));
    }
/**
   * D3执行提前开始工作任务(公共)
   */
    @PostMapping("implementStartWorkTasksAheadScheduleCom")
    public OkrResult<ImplementStartWorkTasksAheadScheduleComRespDto> implementStartWorkTasksAheadScheduleCom(@RequestBody @Validated ImplementStartWorkTasksAheadScheduleComReqDto reqDTO){
    return OkrResult.success(workTasksService.implementStartWorkTasksAheadScheduleCom(reqDTO));
    }
/**
   * D3批量查询问题(公共)
   */
    @PostMapping("batchQueryQuestionCom")
    public OkrResult<BatchQueryQuestionComRespDto> batchQueryQuestionCom(@RequestBody @Validated BatchQueryQuestionComReqDto reqDTO){
    return OkrResult.success(workTasksService.batchQueryQuestionCom(reqDTO));
    }
/**
   * D3批量增独立任务业务处理(公共)
   */
    @PostMapping("batchAddIndependentTaskBusinessProcessingCom")
    public OkrResult<BatchAddIndependentTaskBusinessProcessingComRespDto> batchAddIndependentTaskBusinessProcessingCom(@RequestBody @Validated BatchAddIndependentTaskBusinessProcessingComReqDto reqDTO){
    return OkrResult.success(workTasksService.batchAddIndependentTaskBusinessProcessingCom(reqDTO));
    }
/**
   * D3查询任务分类周期主题列表
   */
    @PostMapping("queryTaskCategoriesCycleThemeList")
    public OkrResult<QueryTaskCategoriesCycleThemeListRespDto> queryTaskCategoriesCycleThemeList(@RequestBody @Validated QueryTaskCategoriesCycleThemeListReqDto reqDTO){
    return OkrResult.success(workTasksService.queryTaskCategoriesCycleThemeList(reqDTO));
    }
/**
   * D3准备工作任务汇报周期数据(公共)
   */
    @PostMapping("preparationWrokTaskReportCycleDataCom")
    public OkrResult<PreparationWrokTaskReportCycleDataComRespDto> preparationWrokTaskReportCycleDataCom(@RequestBody @Validated PreparationWrokTaskReportCycleDataComReqDto reqDTO){
    return OkrResult.success(workTasksService.preparationWrokTaskReportCycleDataCom(reqDTO));
    }
/**
   * D3执行发工作任务更新进度消息(公共)
   */
    @PostMapping("implementSendWrokTaskUpdateProgressMsgCom")
    public OkrResult<ImplementSendWrokTaskUpdateProgressMsgComRespDto> implementSendWrokTaskUpdateProgressMsgCom(@RequestBody @Validated ImplementSendWrokTaskUpdateProgressMsgComReqDto reqDTO){
    return OkrResult.success(workTasksService.implementSendWrokTaskUpdateProgressMsgCom(reqDTO));
    }
/**
   * D3执行工作任务汇报业务处理
   */
    @PostMapping("implementWrokTaskReportBusinessProcess")
    public OkrResult<ImplementWrokTaskReportBusinessProcessRespDto> implementWrokTaskReportBusinessProcess(@RequestBody @Validated ImplementWrokTaskReportBusinessProcessReqDto reqDTO){
    return OkrResult.success(workTasksService.implementWrokTaskReportBusinessProcess(reqDTO));
    }
/**
   * D3更新工作任务周期资料(公共)
   */
    @PostMapping("refreshWrokTaskCycleStageDataCom")
    public OkrResult<RefreshWrokTaskCycleStageDataComRespDto> refreshWrokTaskCycleStageDataCom(@RequestBody @Validated RefreshWrokTaskCycleStageDataComReqDto reqDTO){
    return OkrResult.success(workTasksService.refreshWrokTaskCycleStageDataCom(reqDTO));
    }
/**
   * D3查询工作任务列表by时间范围(公共)
   */
    @PostMapping("queryWrokTaskByTimeRangeListCom")
    public OkrResult<QueryWrokTaskByTimeRangeListComRespDto> queryWrokTaskByTimeRangeListCom(@RequestBody @Validated QueryWrokTaskByTimeRangeListComReqDto reqDTO){
    return OkrResult.success(workTasksService.queryWrokTaskByTimeRangeListCom(reqDTO));
    }
/**
   * D3分析工作任务对齐的目标(公共)
   */
    @PostMapping("analysisWorkTaskAlignmentTargetCom")
    public OkrResult<AnalysisWorkTaskAlignmentTargetComRespDto> analysisWorkTaskAlignmentTargetCom(@RequestBody @Validated AnalysisWorkTaskAlignmentTargetComReqDto reqDTO){
    return OkrResult.success(workTasksService.analysisWorkTaskAlignmentTargetCom(reqDTO));
    }
/**
   * D3查询工作任务汇报资料列表
   */
    @PostMapping("queryWorkTaskReportStageDataList")
    public OkrResult<QueryWorkTaskReportStageDataListRespDto> queryWorkTaskReportStageDataList(@RequestBody @Validated QueryWorkTaskReportStageDataListReqDto reqDTO){
    return OkrResult.success(workTasksService.queryWorkTaskReportStageDataList(reqDTO));
    }
/**
   * D3查询工作任务汇报资料详情
   */
    @PostMapping("queryWorkTaskReportStageDataDetail")
    public OkrResult<QueryWorkTaskReportStageDataDetailRespDto> queryWorkTaskReportStageDataDetail(@RequestBody @Validated QueryWorkTaskReportStageDataDetailReqDto reqDTO){
    return OkrResult.success(workTasksService.queryWorkTaskReportStageDataDetail(reqDTO));
    }
/**
   * D3分析工作任务对齐的目标内容周期(公共)
   */
    @PostMapping("analysisWorkTaskAlignmentTargetContentCycleCom")
    public OkrResult<AnalysisWorkTaskAlignmentTargetContentCycleComRespDto> analysisWorkTaskAlignmentTargetContentCycleCom(@RequestBody @Validated AnalysisWorkTaskAlignmentTargetContentCycleComReqDto reqDTO){
    return OkrResult.success(workTasksService.analysisWorkTaskAlignmentTargetContentCycleCom(reqDTO));
    }
/**
   * D3分析工作任务对齐目标树类型(公共)
   */
    @PostMapping("analysisWorkTaskAlignmentTargetTreeTypeCom")
    public OkrResult<AnalysisWorkTaskAlignmentTargetTreeTypeComRespDto> analysisWorkTaskAlignmentTargetTreeTypeCom(@RequestBody @Validated AnalysisWorkTaskAlignmentTargetTreeTypeComReqDto reqDTO){
    return OkrResult.success(workTasksService.analysisWorkTaskAlignmentTargetTreeTypeCom(reqDTO));
    }
/**
   * D3分析工作任务对齐的指标ID入参(公共)
   */
    @PostMapping("analysisWorkTaskAlignmentTargetRefCom")
    public OkrResult<AnalysisWorkTaskAlignmentTargetRefComRespDto> analysisWorkTaskAlignmentTargetRefCom(@RequestBody @Validated AnalysisWorkTaskAlignmentTargetRefComReqDto reqDTO){
    return OkrResult.success(workTasksService.analysisWorkTaskAlignmentTargetRefCom(reqDTO));
    }
}
